package com.insigma.yanwenlong.bookkeeping.service;

import java.sql.SQLException;
import java.util.List;

import com.insigma.yanwenlong.bookkeeping.pojo.Member;

public interface MemberService {
	//查找所有成员
	List<Member> findallMembers()throws SQLException;
	//根据Id查询该家庭成员
	Member findMemberById(int id) throws SQLException;
	//添加成员
	int addMember(Member member) throws SQLException;
	//根据Id删除该家庭成员
	boolean deleteMemberById(int id) throws SQLException;
}
